package com.jblv.frame.config.service;

import com.alibaba.fastjson.JSONObject;
import com.jblv.frame.config.bean.AppInfo;

import java.util.List;

public interface ConfigService {

    List<AppInfo> getAppList(final String p0) throws Exception;

    AppInfo getAppList(final String p0, final JSONObject p1) throws Exception;

//    JSONObject getConfigFromMongoDB(final String p0, final String p1) throws Exception;
    JSONObject getConfigFromDB(final String p0, final String p1) throws Exception;

    JSONObject getConfigFromXML(final String p0) throws Exception;

    JSONObject getConfigFromYml() throws Exception;
}
